package com.weike.wk_android.model;

import com.weike.wk_android.R;
import com.weike.wk_android.utils.Utils;
import com.weike.wk_android.view.fragment.FoundFragment;
import com.weike.wk_android.view.fragment.FriendsFragment;
import com.weike.wk_android.view.fragment.InformationFragment;
import com.weike.wk_android.view.fragment.MyFragment;
import com.weike.wk_android.view.fragment.ShopFragment;

/**
 * Main页面信息类
 */
public class Tab {
    public static String[] getTabsTxt(){
        String[] tabs={
                Utils.getString(R.string.infomation),
                Utils.getString(R.string.friends),
                Utils.getString(R.string.found),
                Utils.getString(R.string.shop),
                Utils.getString(R.string.my)
        };
        return tabs;
    }
    public static int[] getTabsImg(){
        int[] ids={
                R.mipmap.information_up,
                R.mipmap.friends_up,
                R.mipmap.found_up,
                R.mipmap.shop_up,
                R.mipmap.my_up
        };
        return ids;
    }
    public static int[] getTabsImgPress(){
        int[] ids={
                R.mipmap.information_down,
                R.mipmap.friends_down,
                R.mipmap.found_down,
                R.mipmap.shop_up,
                R.mipmap.my_up
        };
        return ids;
    }

    public static Class[] getFragments(){
        Class[] clz={
                InformationFragment.class,
                FriendsFragment.class,
                FoundFragment.class,
                ShopFragment.class,
                MyFragment.class};
        return clz;
    }
}
